home *** CD-ROM | disk | FTP | other *** search
INSTALL Professional project | 1992-04-23 | 2.7 KB | 106 lines |
- @DefineProject
- @Name = "U. S. Presidents" /* Product Textual Name: */
- @Version = "V1.0"
- @Subdir = "pres" /* default subdirectory for files */
- @OutDrive = C
- @Group = "A"
- @Requires 2000000 /* requires two megabytes */
- @Requires @Harddisk
- @EndProject
- @Display
- @Cls
-
- This program will install @Name
- Version @Version on your computer system.
-
- You may press the [Esc] key at any time to abort the
- installation. INSTALL will ask you several questions about your
- computer hardware.
-
- Each question has a default answer. If the default answer is
- correct, press the ENTER key in response to the question.
- Otherwise, type the answer and then press the ENTER key.
-
- If you make a mistake while typing, press the BACKSPACE key
- and then retype the answer.
-
- @Pause
- @EndDisplay
- @if (@VideoGraph < 18)
- @Display
- Your system appears not to have a VGA display with at least
- 256K memory. This means that you will not be able to view the
- pictures included with @name,
- although display of text will be normal. We recommend
- installation of a VGA or Super VGA display for maximum enjoyment
- of @Name.
-
-
- @pause
- @EndDisplay
- @endif
-
- @GetOutDrive
- @Cls
- On which disc drive do you wish to install
- @Name?
- @EndOutDrive
-
- @GetSubdir
- @Cls
- Now you need to specify the disc destination subdirectory.
- The subdirectory is the location on your disc where
- @Name program will be installed.
-
- If you don't know what a "subdirectory" is, you probably need not
- worry about it and should just press Enter at the next prompt.
-
- @Prompt = "Which subdirectory ([Enter] = @Subdir) ?"
- @EndSubdir
-
- @DefineDisk
- @Label = "PRES V1.0"
- @File SMARTDRD.EXE
- @File SOUNDEX.IDX
- @File SOUNDEX.DAT
- @File PRES.NMX
- @File PRES.NMT
- @File PRES.BRX
- @File CAPTIONS.NMX
- @File CAPTIONS.NMT
- @File CAPTIONS.BRX
- @File STOPWORD.TAB
- @File GRAPHICS.TAB
- @EndDisk
-
-
- @SetConfig
- @Overwrite
- @Files = 30
- @EndConfig
-
-
- @Finish
- @System "echo echo off > @OutDrive:\\PRES.BAT"
- @System "echo @Outdrive: >> @OutDrive:\\PRES.BAT"
- @System "echo CD @Subdir >> @OutDrive:\\PRES.BAT"
- @System "echo SMARTDRD SMART.CFG @OutDrive:\\@Subdir >> @OutDrive:\\PRES.BAT"
- @System "echo CD \\ >> @OutDrive:\\PRES.BAT"
-
- @System "echo @InDrive:\\PRES >> @OutDrive:\\@Subdir\\SMART.CFG"
-
- @ChDrive @OutDrive
- @Chdir "\\"
- @Cls
-
- Installation of @name is complete.
-
- To run @name, simply enter "PRES"
- at the DOS prompt, from the root directory of
- drive @Outdrive (@Outdrive:\).
-
- If your CONFIG.SYS file was modified, you will
- need to reboot your computer before running PRES.
- @pause
- @EndFinish
-